package com.cqxyd.smartsite.service;

import com.cqxyd.smartsite.pojo.UploadRecord;
import com.cqxyd.smartsite.pojo.UploadRecordVo;
import com.github.pagehelper.PageInfo;

import java.util.Date;

/**
 * @author Angus Yu
 * @date 2020-05-14 11:05
 */
public interface UploadRecordService {
    public int insertAndGetId(String serialNo, Date uploadTime, String uploadInfo, String uploadType);

    public int insert(String serialNo, Date uploadTime, String uploadInfo, String uploadType);

    public PageInfo<UploadRecordVo> getUploadRecordListByPage(Integer pageNum, Integer pageSize, String serialNo,
                                                              String type, String timeStart, String timeEnd);
}
